Platform Explorer / Nuxeo Platform 2021.7

Contribution org.nuxeo.search.ui.local.configuration.layouts--widgets

This contribution is part of XML component org.nuxeo.search.ui.local.configuration.layouts inside nuxeo-search-ui-2021.7.jar /OSGI-INF/search-local-configuration-layouts-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Registration Order

33
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="search_content_views_selection" type="shuttle">
          <labels>
            <label mode="any">
              label.search.local.configuration.content.view.selection.label
            </label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>searchc:allowedContentViews</field>
          </fields>
          <properties mode="any">
            <property name="availableElementsLabel">
              label.search.local.configuration.content.view.selection.available
            </property>
            <property name="selectedElementsLabel">
              label.search.local.configuration.content.view.selection.enable
            </property>
            <property name="sourceItems">
              #{searchUIConfigurationActions.getNotSelectedContentViewHeaders(layoutValue)}
            </property>
            <property name="sourceItemVar">contentViewHeader</property>
            <property name="sourceItemValue">#{contentViewHeader.name}</property>
            <property name="sourceItemLabel">
              #{contentViewHeader.translateTitle ?
              messages[contentViewHeader.title] : contentViewHeader.title}
            </property>
            <property name="sourceItemOrdering">label</property>
            <property name="sourceItemCaseSensitive">true</property>
            <property name="targetItems">
              #{searchUIConfigurationActions.getSelectedContentViewHeaders(layoutValue)}
            </property>
            <property name="targetItemVar">contentViewHeader</property>
            <property name="targetItemValue">#{contentViewHeader.name}</property>
            <property name="targetItemLabel">
              #{contentViewHeader.translateTitle ?
              messages[contentViewHeader.title] : contentViewHeader.title}
            </property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="search_content_views_selection" type="shuttle">
      <labels>
        <label mode="any">
          label.search.local.configuration.content.view.selection.label
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>searchc:allowedContentViews</field>
      </fields>
      <properties mode="any">
        <property name="availableElementsLabel">
          label.search.local.configuration.content.view.selection.available
        </property>
        <property name="selectedElementsLabel">
          label.search.local.configuration.content.view.selection.enable
        </property>
        <property name="sourceItems">
          #{searchUIConfigurationActions.getNotSelectedContentViewHeaders(layoutValue)}
        </property>
        <property name="sourceItemVar">contentViewHeader</property>
        <property name="sourceItemValue">#{contentViewHeader.name}</property>
        <property name="sourceItemLabel">
          #{contentViewHeader.translateTitle ?
          messages[contentViewHeader.title] : contentViewHeader.title}
        </property>
        <property name="sourceItemOrdering">label</property>
        <property name="sourceItemCaseSensitive">true</property>
        <property name="targetItems">
          #{searchUIConfigurationActions.getSelectedContentViewHeaders(layoutValue)}
        </property>
        <property name="targetItemVar">contentViewHeader</property>
        <property name="targetItemValue">#{contentViewHeader.name}</property>
        <property name="targetItemLabel">
          #{contentViewHeader.translateTitle ?
          messages[contentViewHeader.title] : contentViewHeader.title}
        </property>
      </properties>
    </widget>
  </extension>